home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 1998 November / IRIX 6.5.2 Base Documentation November 1998.img / usr / share / catman / p_man / cat3s / ferror.z / ferror
Text File  |  1998-10-20  |  3KB  |  67 lines

  1.  
  2.  
  3.  
  4. FFFFEEEERRRRRRRROOOORRRR((((3333SSSS))))                                                          FFFFEEEERRRRRRRROOOORRRR((((3333SSSS))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      ferror, feof, clearerr, fileno - stream status inquiries
  10.  
  11. SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  12.      ####iiiinnnncccclllluuuuddddeeee <<<<ssssttttddddiiiioooo....hhhh>>>>
  13.  
  14.      iiiinnnntttt ffffeeeerrrrrrrroooorrrr ((((FFFFIIIILLLLEEEE ****ssssttttrrrreeeeaaaammmm))));;;;
  15.  
  16.      iiiinnnntttt ffffeeeeooooffff ((((FFFFIIIILLLLEEEE ****ssssttttrrrreeeeaaaammmm))));;;;
  17.  
  18.      vvvvooooiiiidddd cccclllleeeeaaaarrrreeeerrrrrrrr ((((FFFFIIIILLLLEEEE ****ssssttttrrrreeeeaaaammmm))));;;;
  19.  
  20.      iiiinnnntttt ffffiiiilllleeeennnnoooo ((((FFFFIIIILLLLEEEE ****ssssttttrrrreeeeaaaammmm))));;;;
  21.  
  22. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  23.      _f_e_r_r_o_r returns non-zero when an I/O error has previously occurred reading
  24.      from or writing to the named _s_t_r_e_a_m, otherwise zero.
  25.  
  26.      _f_e_o_f returns non-zero when EEEEOOOOFFFF has previously been detected reading the
  27.      named input _s_t_r_e_a_m, otherwise zero.
  28.  
  29.      _c_l_e_a_r_e_r_r resets the error indicator and EEEEOOOOFFFF indicator to zero on the
  30.      named _s_t_r_e_a_m.
  31.  
  32.      _f_i_l_e_n_o returns the integer file descriptor associated with the named
  33.      _s_t_r_e_a_m (see below for common file descriptors, and _o_p_e_n(2) for general
  34.      information on file descriptors.)
  35.  
  36.      The following symbolic values in <_u_n_i_s_t_d._h> define the file descriptors
  37.      that are associated with the C language _s_t_d_i_n, _s_t_d_o_u_t, and _s_t_d_e_r_r when an
  38.      application is started:
  39.  
  40.           Name           Description              Value
  41.      STDIN_FILENO   Standard input value, _s_t_d_i_n     0
  42.      STDOUT_FILENO  Standard output value, _s_t_d_o_u_t   1
  43.      STDERR_FILENO  Standard error value, _s_t_d_e_r_r    2
  44.  
  45. NNNNOOOOTTTTEEEESSSS
  46.      All of these functions are implemented both as functions in the C library
  47.      and as macros in <_s_t_d_i_o._h>.
  48.  
  49. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  50.      open(2), fopen(3S), stdio(3S).
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.